Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable docker layer caching in github action #4108

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

patcon
Copy link
Contributor

@patcon patcon commented Sep 29, 2022

Spun out from: #4035 (comment) h/t @mnigh

This was causing e2e-tests to show as "skipped", and rarely showing the proper pass/fail status, which makes the e2e tests pretty useless.

Disabling docker layer cache for now, to avoid the github action "out of storage" error. We'll see in the github action run whether it makes the workflow run significantly longer (20-25 min seems to be regular).

@patcon patcon self-assigned this Sep 29, 2022
@patcon patcon added the bug Something isn't working. label Sep 29, 2022
@patcon patcon requested a review from mnigh September 29, 2022 12:29
@esizer
Copy link
Member

esizer commented Sep 29, 2022

The test actually ran 8 mins faster 👀 Was it the caching that was making it take so long? 😝

@patcon
Copy link
Contributor Author

patcon commented Sep 29, 2022

@esizer Whaaaa! Bwahaha omg ok, maybe we should just remove it completely. That's wiiiild :)

Related: satackey/action-docker-layer-caching#305

@patcon patcon changed the title Temporarily disabled docker layer caching in github action. Disable docker layer caching in github action Sep 29, 2022
@patcon
Copy link
Contributor Author

patcon commented Sep 29, 2022

I wonder if lack of disk space was causing tests to overrun timeouts... cursory impression is that this seems to be less failure-prone

Copy link
Contributor

@mnigh mnigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳 to shorter build times!

Copy link
Contributor

@petertgiles petertgiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not too sure how to test this other than observe the run on this PR, but the code looks good!

@patcon
Copy link
Contributor Author

patcon commented Sep 29, 2022

Thanks @petertgiles and @mnigh!

(And yeah Peter, the CI is kinda the evaluation for this stuff, I guess? In the future, I can explicitly say that in the "testing instructions" when that's the case..!)

@patcon patcon merged commit a68d302 into main Sep 29, 2022
@patcon patcon deleted the bug/4035-disable-docker-cache-action branch September 29, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants